﻿using AutoMapper;
using BncMall.Model.DtoModels;
using BncMall.Model.Models;
using BncMall.Model.ViewModels;

namespace BncMall.AutoMapper
{
    public class MarketProfile : Profile
    {
        public MarketProfile()
        {
            CreateMap<AddConponDto, Market_Coupon>().ReverseMap();
            CreateMap<ConponDetailViewModel, Market_Coupon>().ReverseMap();

            CreateMap<Market_AdvertisType, UpsertAdvertiseTypeDto>().ReverseMap();
            CreateMap<Market_AdvertisingFigure, UpsertAdvertiseDto>().ReverseMap();
        }
    }
}
